var md5 = require("md5");
class Utils {

    Md5Password(str){
        return md5(str);
    }

    getTime(){
        var year = new Date().getFullYear();
        var month = new Date().getMonth()+1;
        var day = new Date().getDate();
        var hour = new Date().getHours();
        var minute = new Date().getMinutes();
        return `${year}年${month}月${day}日 ${hour}:${minute}`
    }
}

module.exports = new Utils()